
<?php if (validation_errors()) : ?>
<div class="notification error">
	<?php echo validation_errors(); ?>
</div>
<?php endif; ?>
<?php // Change the css classes to suit your needs    
if( isset($matchodds) ) {
	$matchodds = (array)$matchodds;
}
$id = isset($matchodds['match_odds_id']) ? "/".$matchodds['match_odds_id'] : '';
?>
<?php echo form_open($this->uri->uri_string(), 'class="constrained ajax-form"'); ?>
<?php if(isset($matchodds['match_odds_id'])): ?><input id="match_odds_id" type="hidden" name="match_odds_id" value="<?php echo $matchodds['match_odds_id'];?>"  /><?php endif;?>
<div>
        <?php echo form_label('Match Id', 'match_id'); ?>
        <input id="match_id" type="text" name="match_id" maxlength="1000000" value="<?php echo set_value('match_id', isset($matchodds['match_id']) ? $matchodds['match_id'] : ''); ?>"  />
</div>

<div>
        <?php echo form_label('Odds Id', 'odds_id'); ?>
        <input id="odds_id" type="text" name="odds_id" maxlength="1000000" value="<?php echo set_value('odds_id', isset($matchodds['odds_id']) ? $matchodds['odds_id'] : ''); ?>"  />
</div>



	<div class="text-right">
		<br/>
		<input type="submit" name="submit" value="Edit matchodds" /> or <?php echo anchor(SITE_AREA .'/developer/matchodds', lang('matchodds_cancel')); ?>
	</div>
	<?php echo form_close(); ?>

	<div class="box delete rounded">
		<a class="button" id="delete-me" href="<?php echo site_url(SITE_AREA .'/developer/matchodds/delete/'. $id); ?>" onclick="return confirm('<?php echo lang('matchodds_delete_confirm'); ?>')"><?php echo lang('matchodds_delete_record'); ?></a>
		
		<h3><?php echo lang('matchodds_delete_record'); ?></h3>
		
		<p><?php echo lang('matchodds_edit_text'); ?></p>
	</div>
